import request from '@/utils/request'

// 查询调查问卷详情选项列表
export function listQueFormDetailOption(query) {
  return request({
    url: '/secondVitim/QueFormDetailOption/list',
    method: 'get',
    params: query
  })
}

// 查询调查问卷详情选项详细
export function getQueFormDetailOption(id) {
  return request({
    url: '/secondVitim/QueFormDetailOption/' + id,
    method: 'get'
  })
}

// 新增调查问卷详情选项
export function addQueFormDetailOption(data) {
  return request({
    url: '/secondVitim/QueFormDetailOption',
    method: 'post',
    data: data
  })
}

// 修改调查问卷详情选项
export function updateQueFormDetailOption(data) {
  return request({
    url: '/secondVitim/QueFormDetailOption',
    method: 'put',
    data: data
  })
}

// 删除调查问卷详情选项
export function delQueFormDetailOption(id) {
  return request({
    url: '/secondVitim/QueFormDetailOption/' + id,
    method: 'delete'
  })
}
